home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Dec 90 / MacApp.Tech$ 12⁄14⁄90 / 2483-Re global Reference,-Dec90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.5 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item    0209578                         10-Dec-90        18:27
  2.  
  3. From:   BA0K+@ANDREW.CMU.EDU@INTERNET#  Gateway to Internet/BITNET/UUCP
  4.  
  5. To:     MADA.SYSOP                      MacApp Dev Assoc, Don Sawtelle,IVC
  6.  
  7. Item forwarded by       MADA.SYSOP   to MACAPP.TECH$ 
  8.  
  9. INTERNET# Document Id: <8bN8dd200WBME5bBNV@andrew.cmu.edu>
  10.  
  11. ------------------------------------------------------------------------------
  12.  
  13. Sub:    Re: global Reference, ViewEdi
  14.  
  15. TO REPLY, use: ba0k+@andrew.cmu.edu@INTERNET#
  16. Using the reply function in AppleLink does not work for gatewayed E-mail yet.
  17.  
  18. From: Brian Patrick Arnold <ba0k+@andrew.cmu.edu>
  19. Subject: Re: global Reference, ViewEdit
  20. References: <0746980@AppleLink.Apple.COM>
  21. In-Reply-To: <0746980@AppleLink.Apple.COM>
  22. To: MADA.SYSOP@applelink.apple.com (MacApp Dev Assoc,  Don Sawtelle, IVC)
  23.  
  24.  
  25. I can't help you on your other problems (I only hope ViewEdit has
  26. progressed in capability by the next MacWorld), but I think your trouble
  27. with FindSubView might relate to IRes, which is called before the entire
  28. view hierarchy is instantiated.  In other words, I don't think (I may be
  29. wrong) that IRes is called after approaching the deepest level of the
  30. view resource, and hence it may pay off to wait until after
  31. NewTemplateWindow before using FindSubView.  A habit I find myself in
  32. (again, I may be wrong) is to initialize object references to NIL in
  33. IRes, defending against NIL in most view methods (noble anyway, in case
  34. allocations fail), and call IMyView style methods after my
  35. NewTemplateWindow call has completed.  I hope this helps.
  36.  
  37. - Brian
  38.